package com.study.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * Created by Administrator on 2017/11/6/006.
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResponseResult {
    private Integer status;
    private String msg;
    private Object data;

    public ResponseResult() {
    }

    public ResponseResult(Integer status, String msg) {

        this.status = status;
        this.msg = msg;
    }

    public ResponseResult(Integer status, String msg, Object data) {
        this.status = status;
        this.msg = msg;
        this.data = data;
    }
}
